package unipampa.extensions.games.pampaPife;

import com.smartfoxserver.v2.entities.User;
import com.smartfoxserver.v2.entities.data.ISFSObject;
import com.smartfoxserver.v2.extensions.BaseClientRequestHandler;

public class TratarSaida extends BaseClientRequestHandler{
	
	public void handleClientRequest(User usuario, ISFSObject params){
		PampaPifeExtension gameExt = (PampaPifeExtension) getParentExtension();
		gameExt.baralho.devolveCartas(usuario.getPlayerId());
		trace("Jogador "+usuario.getPlayerId()+" saiu. Devolvendo cartas ao monte!");
	}
}
